package com.sc.nft.enums.mallcart;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 购物车状态枚举
 *
 * @Author：LiGen
 * @Package：com.metago.mallmini.enums
 * @Project：meta_mall_mini_app
 * @name：CartExpiredEnum
 * @Date：2024/5/8 15:26
 * @Filename：CartExpiredEnum
 */
@AllArgsConstructor
@Getter
public enum CartExpiredEnum {

    NO_LONGER_AVAILABLE("NO_LONGER_AVAILABLE","商品已下架"),
    SOLD_OUT("SOLD_OUT","商品已售罄"),
    INSUFFICIENT_STOCK("INSUFFICIENT_STOCK","商品库存不足"),
    NOT_ELIGIBLE_FOR_PURCHASE("NOT_ELIGIBLE_FOR_PURCHASE","商品不符合购买条件"),
    THE_PURCHASE_LIMIT_HAS_BEEN_EXCEEDED("THE_PURCHASE_LIMIT_HAS_BEEN_EXCEEDED","商品已超过限购数量"),
    NORMAL("NORMAL","正常"),
            ;

    @EnumValue
    private String code;
    private String description;
}
